function Inint_AJAX() {
	try { return new ActiveXObject("Msxml2.XMLHTTP");    } catch(e) {}
	try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) {}
	try { return new XMLHttpRequest(); } catch(e) {}
	alert("XMLHttpRequest not supported");
	return null;
}

function load_main(){
	var height_table=(window.innerHeight) ? window.innerHeight : document.body.clientHeight;
	var width_table=(window.innerWidth) ? window.innerWidth : document.body.clientWidth;
	

	var array_element=Array();
	var id_element=null;

	array_element[0]='product';
	array_element[1]='sub_product';

	for(n=0;n<array_element.length;n++){
		id_element=array_element[n];
		if(document.getElementById("div_data_"+id_element)){
			
			//document.getElementById("tb_data_"+id_element).style.width=(width_table * 1.5)+"px";
			//document.getElementById("div_data_"+id_element).style.width=(width_table-250)+"px";
			document.getElementById("div_data_"+id_element).style.height=((height_table/2)-15)+"px";
		}
	}
}